package com.wy.concurrent_sort;

import java.util.Random;

/**
 * @author 美女
 * @date 2022/04/21 14:40
 **/
//生成数组
public class ArrayHelper {
    public static long[] generateArray(int n){
        Random random=new Random(20220420);
        long[] array=new long[n];
        for (int i = 0; i < n; i++) {
            array[i]= random.nextInt();
        }
        return array;
    }
}
